// pages/user-protocol/user-protocol.js
Page({


  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (e) {
    getApp().core.setNavigationBarTitle({
      title: '用户协议'
    });
    getApp().page.onLoad(this, e);
    var t = this;
    getApp().core.showLoading({
      title: "正在加载"
    });
    getApp().request({
      url: getApp().api.order.detail,
      data: {
        order_id: e.order_id,
      },
      success: function (e) {
        0 == e.code && t.setData({
          order_list: e.data,
        });
        console.log(e.data);
      },

      complete: function () {
        getApp().core.hideLoading();
      }
    });
  }
  
})